package org.csu.mybigpro.persistence;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.csu.mybigpro.domain.Training;

import java.util.List;
import java.util.Map;

@Mapper
public interface TrainingMapper extends BaseMapper<Training> {

    // 多条件筛选
    List<Training> selectByFilter(Map<String, Object> filter);

    // 插入实训记录
    int insert(Training training);
}
